package com.kx.center.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.kx.center.entity.Store;
import com.kx.center.mappers.StoreMapper;
import com.kx.center.service.StoreService;

@Service
public class StoreServiceImpl implements StoreService {

	@Autowired
	StoreMapper mapper;

	@Override
	public Store findStoreById(Integer storeId) {
		return mapper.findStoreById(storeId);
	}

	@Override
	public List<Store> findAllStore() {
		return mapper.findAllStore();
	}

}
